import { IsNotEmpty } from "class-validator";

export class LoginDto{

  @IsNotEmpty()
  code:string

  @IsNotEmpty()
  avatar:string

  @IsNotEmpty()
  nickname:string

  @IsNotEmpty()
  phone:string
}
